home *** CD-ROM | disk | FTP | other *** search
- IAND(3I) Last changed: 4-13-99
-
-
- NNAAMMEE
- IIAANNDD, IIIIAANNDD, JJIIAANNDD, KKIIAANNDD - Performs a logical AANNDD
-
- SSYYNNOOPPSSIISS
- IIAANNDD (([II==]_i,, [JJ==]_j))
- IIIIAANNDD (([II==]_i,, [JJ==]_j))
- JJIIAANNDD (([II==]_i,, [JJ==]_j))
- KKIIAANNDD (([II==]_i,, [JJ==]_j))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, IRIX systems
-
- CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
-
- SSTTAANNDDAARRDDSS
- Fortran
-
- Fortran extensions: IIIIAANNDD, JJIIAANNDD, KKIIAANNDD
-
- DDEESSCCRRIIPPTTIIOONN
- The IIAANNDD, IIIIAANNDD, JJIIAANNDD, and KKIIAANNDD intrinsic functions perform a
- logical AANNDD. They accept the following arguments:
-
- _i For IIAANNDD, must be of type integer. For IIIIAANNDD, must be of
- type integer (KIND=2). For JJIIAANNDD, must be of type integer
- (KIND=4). For KKIIAANNDD, must be of type integer (KIND=8).
-
- _j Must be of type integer with the same kind type parameter as
- _i
-
- These are elemental functions. The names of these intrinsics cannot
- be passed as arguments.
-
- RREETTUURRNN VVAALLUUEESS
- The result type and type parameter are the same as _i. On IRIX
- systems, the result can be affected by the --ii option on the ff9900(1)
- command line.
-
- The result has the value obtained by combining _i and _j bit-by-bit
- according to the following truth table:
-
- -----------------
- IIAANNDD (_i,
- _i _j _j)
- -----------------
- 1 1 1
- 1 0 0
- 0 1 0
- 0 0 0
- -----------------
-
- The bit model defines the interpretation of an integer value as a
- sequence of bits. For more information on the bit model, see the
- MMOODDEELLSS(3I) man page.
-
- EEXXAAMMPPLLEESS
- IIAANNDD((11,, 33)) has the value 1.
-
- SSEEEE AALLSSOO
- ff9900(1)
-
- MMOODDEELLSS(3I)
-
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
- man page.
-